package org.viva.service.wx.mp;

import org.apache.commons.codec.digest.DigestUtils;

public class MPAPI {

    public static boolean verifyUrl(String token, String signature, String timeStamp, String nonce) {
        return signature.equals(DigestUtils.sha1Hex(token + timeStamp + nonce));
    }

}
